package io.renren.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.entity.BaseEntity;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单商品表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("xls_orders_goods")
public class XlsOrdersGoodsEntity extends ApiBaseEntity {
	private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
	private Long orderId;
    /**
     * 商品id
     */
	private Long goodsId;
    /**
     * 商品个数
     */
	private Integer goodsNum;
    /**
     * 商品价格
     */
	private BigDecimal goodsPrice;
    /**
     * 创建时间
     */
	private Date createTime;
    /**
     * 实际发货数量
     */
	private Integer sendGoodsNum;
    /**
     * 订单类型1.零售2.批发3.易物
     */
	private Integer orderType;
    /**
     * 审核员工ID
     */
	private Long checkstaffid;
    /**
     * 审核时间
     */
	private Date checkTime;
}